package com.yjt.admin.system.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 组织表
 * </p>
 *
 * @author zzp
 * @since 2021-10-09
 */
@Data
public class OrgForm implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 通用的
     */
    @ApiModelProperty(value = "组织id,新增不用传")
    private String orgId;

    @ApiModelProperty(value = "组织名称", example = "医建投")
    private String orgName;

    @ApiModelProperty(value = "组织类型(1集团2公司3部门)", example = "1")
    private Integer orgType;

    @ApiModelProperty(value = "组织领导id集合")
    private List<String> orgLeaderIdList;

    @ApiModelProperty(value = "上级组织id")
    private String superOrgId;

    @ApiModelProperty(value = "上级所有组织id")
    private String superAllOrgId;

    @ApiModelProperty(value = "排序", example = "1")
    private Integer sort;

    @ApiModelProperty(value = "是否禁用(默认是1,禁用是0)", example = "1")
    private Integer isForbid;

    @ApiModelProperty(value = "公司logo", example = "group1/M00/00/26/rBoJJGDUKNSAV8e_AABS76wSfvY962.jpg")
    private String orgLogo;

    @ApiModelProperty(value = "主题")
    private String subjeId;

    /**
     * 公司和部门需要
     */
    @ApiModelProperty(value = "组织上级领导id集合")
    private List<String> orgSuperLeaderIdList;

    /**
     * 集团和公司需要
     */
    @ApiModelProperty(value = "logo文件id")
    private String fileId;
}
